/*
 * Copyright (c) 2016 zhangcm. All Rights Reserved.
 */
package com.jnzc.ocr.rest.app.shop.param.app;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @author zhangcm
 * @version 1.0, 2017/9/16
 */
@ApiModel(description = "营销方案保存参数")
public class AppMarketingPlanSaveParam {

    @ApiModelProperty(value = "ID")
    private Long id;
    @ApiModelProperty(value = "名称", required = true, allowableValues = "range[0, 20]")
    private String name;
    @ApiModelProperty(value = "营销类型", required = true)
    private Integer marketingType;
    @ApiModelProperty(value = "产品分类ID")
    private Long productCategoryId;
    @ApiModelProperty(value = "会员类型ID")
    private Long memberCategoryId;
    @ApiModelProperty(value = "开始优惠时段", required = true)
    private Date startTerm;
    @ApiModelProperty(value = "结束优惠时段", required = true)
    private Date endTerm;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getMarketingType() {
        return marketingType;
    }

    public void setMarketingType(Integer marketingType) {
        this.marketingType = marketingType;
    }

    public Long getProductCategoryId() {
        return productCategoryId;
    }

    public void setProductCategoryId(Long productCategoryId) {
        this.productCategoryId = productCategoryId;
    }

    public Long getMemberCategoryId() {
        return memberCategoryId;
    }

    public void setMemberCategoryId(Long memberCategoryId) {
        this.memberCategoryId = memberCategoryId;
    }

    public Date getStartTerm() {
        return startTerm;
    }

    public void setStartTerm(Date startTerm) {
        this.startTerm = startTerm;
    }

    public Date getEndTerm() {
        return endTerm;
    }

    public void setEndTerm(Date endTerm) {
        this.endTerm = endTerm;
    }
}
